package com.butterfly.hotkey.common.disruptor.container;

import com.butterfly.hotkey.common.disruptor.event.QueueEvent;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.context.SmartLifecycle;

/**
 * @author butterfly
 * @version 1.0
 */
public interface IEventProcessorContainer extends InitializingBean, SmartLifecycle, DisposableBean {

    /**
     * 接收队列事件
     *
     * @param queueEvent queueEvent
     */
    void receiveQueueEvent(QueueEvent queueEvent);

}
